package models

type Checkoutattribute struct {
	Id int64 `xorm:"oid"`

	Name                            string `json:"Name" xorm:"not null VARCHAR(400)"`
	Textprompt                      string `json:"TextPrompt" xorm:"VARCHAR"`
	Isrequired                      int    `json:"IsRequired" xorm:"not null BIT(1)"`
	Shippableproductrequired        int    `json:"ShippableProductRequired" xorm:"not null BIT(1)"`
	Istaxexempt                     int    `json:"IsTaxExempt" xorm:"not null BIT(1)"`
	Taxcategoryid                   int    `json:"TaxCategoryId" xorm:"not null INTEGER"`
	Attributecontroltypeid          int    `json:"AttributeControlTypeId" xorm:"not null INTEGER"`
	Displayorder                    int    `json:"DisplayOrder" xorm:"not null INTEGER"`
	Limitedtostores                 int    `json:"LimitedToStores" xorm:"not null BIT(1)"`
	Validationminlength             int    `json:"ValidationMinLength" xorm:"INTEGER"`
	Validationmaxlength             int    `json:"ValidationMaxLength" xorm:"INTEGER"`
	Validationfileallowedextensions string `json:"ValidationFileAllowedExtensions" xorm:"VARCHAR"`
	Validationfilemaximumsize       int    `json:"ValidationFileMaximumSize" xorm:"INTEGER"`
	Defaultvalue                    string `json:"DefaultValue" xorm:"VARCHAR"`
}
